package com.zhuliwei.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (ChatContent)表实体类
 *
 * @author 朱力维
 * @since 2023-05-14 19:38:45
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("zlw_chat")
public class ChatContent implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    //提问内容
    private String question;

    //回答内容
    private String answer;

    //OpenAI账户余额（美元）
    private String balance;
//0:普通问答1：文生图2：语音生成3：语音翻译4：多模态
    private String type;
    private String ipAddress;

    //0：正常回答1：出现异常
    private Integer status;
    private Date createTime;
    //提问者
    private String createBy;

}

